home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASL 129: Windows Games 3
/
ASL 129: Windows Games 3.iso
/
aslvol29
/
appl21
/
makever.c
< prev
next >
Wrap
Text File
|
1990-08-31
|
1KB
|
36 lines
/*
C source for GNU CHESS
Revision: 1990-09-30
Modified by Daryl Baker for use in MS WINDOWS environment
This file is part of CHESS.
CHESS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY. No author or distributor accepts responsibility to anyone for
the consequences of using it or for whether it serves any particular
purpose or works at all, unless he says so in writing. Refer to the CHESS
General Public License for full details.
Everyone is granted permission to copy, modify and redistribute CHESS, but
only under the conditions described in the CHESS General Public License.
A copy of this license is supposed to have been given to you along with
CHESS so you can know your rights and responsibilities. It should be in a
file named COPYING. Among other things, the copyright notice and this
notice must be preserved on all copies.
*/
#include <stdio.h>
#include <time.h>
main ()
{
time_t ltime;
char *stTime;
time ( <ime);
stTime = ctime(<ime);
stTime[strlen(stTime)-1] = '\0';
printf ("char Version[]=%c%s%c;\n",'"',stTime,'"');
}